lib/keyfile: Treat "group not found" the same as "key not found"
authorColin Walters <walters@verbum.org>
Thu, 7 Nov 2019 16:06:39 +0000 (16:06 +0000)
committerColin Walters <walters@verbum.org>
Thu, 7 Nov 2019 21:15:41 +0000 (21:15 +0000)
commit58980a717a7854b27f48a0753dfbe5b8b94c8164
treecc79ff90da84950b80bb247fdecedfce796bfb65
parentcb3eff6cfa0c0fba9e7e5d74eb7aac2a88666463
lib/keyfile: Treat "group not found" the same as "key not found"

Prep for fsverity, where I want to create a new group
`[fsverity]` in the keyfile that has default values.  We should
treat the absence of a group the same as absence of a key
in these "with defaults" APIs.
src/libotutil/ot-keyfile-utils.c
tests/test-keyfile-utils.c